provider Environments GET /api/0/organizations/{organization_id_or_slug}/environments/
@utdk/sentry /api/0/organizations/{organization_id_or_slug}/environments/
List an Organization's Environments
Lists an organization's environments.
organization_id_or_slug path required
The ID or slug of the organization the resource belongs to.
string
visibility query
The visibility of the environments to filter by. Defaults to `visible`.
enum: all, hidden, visible

Try it

Authentication
Configure credentials for API Reference
listAnOrganizationSEnvironments
GET/api/0/organizations/{organization_id_or_slug}/environments/
Lists an organization's environments.

Parameters

required

The ID or slug of the organization the resource belongs to.

The visibility of the environments to filter by. Defaults to `visible`.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.listAnOrganizationSEnvironments()